package cn.wenlihelp.service.task;

import cn.wenlihelp.bean.Task;
import cn.wenlihelp.bean.Taskinfo;
import com.github.pagehelper.PageInfo;

public interface TaskService {

    PageInfo<Task> findAll(int page,int limit,Task task);

    Task findById(Long id);

    boolean update(Taskinfo taskinfo);

    boolean add(Task task);

    boolean del(Integer[] ids);

    boolean accept(Integer taskId, Integer accountId);
}

